package com.example.demo.model;

import java.util.HashSet;
import java.util.Set;

public class Role {
    private Integer rid;
    private String name;
    private Set<Permisson> permissons = new HashSet<>();
    private Set<User> users = new HashSet<>();

    public Set<User> getUsers() {
        return users;
    }

    public void setUsers(Set<User> users) {
        this.users = users;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<Permisson> getPermissons() {
        return permissons;
    }

    public void setPermissons(Set<Permisson> permissons) {
        this.permissons = permissons;
    }
}
